//
//  SEGSanyBusinessCircleManager.m
//  TableDemo
//
//  Created by Clavis on 2019/6/10.
//  Copyright © 2019 Clavis. All rights reserved.
//

#import "SEGSanyBusinessCircleManager.h"

@implementation SEGSanyBusinessCircleManager

/**
 请求周边商家列表

 @param finished 回调
 */
+ (void)requestSanyBusinessCircleDataWithFinished:(SEGNetworkReponse)finished {
    NSString *urlString = [SEGServerManager serverUrlJoint:kClientRootURL,@"/project-operation-app/serviceProvider/getListByCommunityId",nil];
    NSDictionary *param = @{@"communityId":kAccountCommunityID};
    
    [SEGHTTPBusinessManager seg_requestJSONWithMethod:POST URLString:urlString parameters:param finished:^(BOOL isSuccessed, id result, NSString *codeType, NSString *errorMessage) {
        finished(isSuccessed, result, codeType, errorMessage);
    }];
}

@end
